lib/fetcher: Allow clients to append to User-Agent
authorJonathan Lebon <jonathan@jlebon.com>
Wed, 14 Mar 2018 14:36:48 +0000 (10:36 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 16 Mar 2018 19:21:31 +0000 (19:21 +0000)
commit4e4436beec35f4f48d9750fa39f0a3d7fa94de7e
treecd6083b7d63e522b2cc5f02b717494c095a0b6f1
parent296ef25e12d1c4a49e98b3f9e0a86a31b3762a98
lib/fetcher: Allow clients to append to User-Agent

We do already have `http-headers`, which potentially could be used to
allow clients to completely override the field, but it seems like the
more common use case is simply to append.

Closes: #1496
Approved by: cgwalters
src/libostree/ostree-fetcher-curl.c
src/libostree/ostree-fetcher-soup.c
src/libostree/ostree-fetcher.h
src/libostree/ostree-repo-pull.c
src/ostree/ot-builtin-pull.c
tests/libtest.sh
tests/test-remote-cookies.sh
tests/test-remote-headers.sh